package koction.model.consumer;

import java.util.List;
import java.util.Map;

import koction.model.admin.AskSellerVO;
import koction.model.product.ProductVO;
import koction.model.seller.SellerVO;



public interface ConsumerDao {
	public ConsumerVO findById(String id);
	public int registerConsumer(ConsumerVO cvo);
	public int updateConsumer(ConsumerVO cvo);
	public ConsumerVO loginConsumer(ConsumerVO cvo);
	public int deleteConsumer(ConsumerVO cvo);
	public ConsumerVO findConsumerById(String id);
	public void updatePoint(Map map);
	public void updateTotalPoint(Map map);
	public void registerPurchaseList(Map map);
	public void updateProductInventory(Map map);
	public void registerSellList(Map map);
	public List<PurchaseListVO> getPurchaseList(Map map);
	public SellerVO findSellerByConsumerId(String id);
	public void askSeller(AskSellerVO asvo);
	public GradeVO myGrade(Map map);
	public int updateGrade(Map map);
	public ProductVO findProductById(int productId);
	public void deletePurchaseList(String purchaseNo);
	public int getTotalPurchaseList(String id);
	
}
